package com.projManage.service.service.base;

import com.liferay.portal.SystemException;
import com.liferay.portal.kernel.annotation.BeanReference;
import com.liferay.portal.service.base.PrincipalBean;
import com.liferay.portal.util.PortalUtil;

import com.projManage.service.service.persistence.projManagedbPersistence;
import com.projManage.service.service.projManagedbLocalService;
import com.projManage.service.service.projManagedbService;


public abstract class projManagedbServiceBaseImpl extends PrincipalBean
    implements projManagedbService {
    @BeanReference(name = "com.projManage.service.service.projManagedbLocalService.impl")
    protected projManagedbLocalService projManagedbLocalService;
    @BeanReference(name = "com.projManage.service.service.projManagedbService.impl")
    protected projManagedbService projManagedbService;
    @BeanReference(name = "com.projManage.service.service.persistence.projManagedbPersistence.impl")
    protected projManagedbPersistence projManagedbPersistence;

    public projManagedbLocalService getprojManagedbLocalService() {
        return projManagedbLocalService;
    }

    public void setprojManagedbLocalService(
        projManagedbLocalService projManagedbLocalService) {
        this.projManagedbLocalService = projManagedbLocalService;
    }

    public projManagedbService getprojManagedbService() {
        return projManagedbService;
    }

    public void setprojManagedbService(projManagedbService projManagedbService) {
        this.projManagedbService = projManagedbService;
    }

    public projManagedbPersistence getprojManagedbPersistence() {
        return projManagedbPersistence;
    }

    public void setprojManagedbPersistence(
        projManagedbPersistence projManagedbPersistence) {
        this.projManagedbPersistence = projManagedbPersistence;
    }

    protected void runSQL(String sql) throws SystemException {
        try {
            PortalUtil.runSQL(sql);
        } catch (Exception e) {
            throw new SystemException(e);
        }
    }
}
